﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Program
    {
        static void Main(string[] args)
        {
            NPCTask npc1 = new NPCTask("送信NPC", NPCtype.Task,"帮我去送信");
            npc1.Speak();
            Console.WriteLine("------------------------------------------");
            NPCTask npc2 = new NPCTask("杀怪NPC", NPCtype.Task, "帮我去杀怪");
            npc2.Speak();
            Console.WriteLine("------------------------------------------");
            NPCTask npc3 = new NPCTask("采集NPC", NPCtype.Task, "帮我去采集");
            npc3.Speak();
            Console.WriteLine("------------------------------------------");
            NPCshop shop1 = new NPCshop("武器NPC", NPCtype.Shop,"青龙偃月刀");
            shop1.Speak();
            Console.WriteLine("------------------------------------------");
            NPCshop shop2 = new NPCshop("材料NPC", NPCtype.Shop, "青龙偃月刀刀柄");
            shop2.Speak();
            Console.WriteLine("------------------------------------------");
            NPCshop shop3 = new NPCshop("食物NPC", NPCtype.Shop, "苹果");
            shop3.Speak();
            Console.WriteLine("------------------------------------------");
            NPCiron iron1 = new NPCiron("修补NPC", NPCtype.Iron, "屠龙刀刀刀柄");
            iron1.Speak();
            Console.WriteLine("------------------------------------------");
            NPCiron iron2 = new NPCiron("强化NPC", NPCtype.Iron, "倚天剑刀刀柄");
            iron2.Speak();
            Console.WriteLine("------------------------------------------");
            NPCiron iron3 = new NPCiron("打造NPC", NPCtype.Iron, "阮建霖刀刀柄");
            iron3.Speak();
            Console.WriteLine("------------------------------------------");
            Console.ReadKey();
        }
    
    }
}
